package com.lanou.zakerproject.subscribe;

import java.util.List;

/**
 * Created by dllo on 16/1/19.
 */
public class ChannelSearch {

    /**
     * stat : 1
     * msg : ok
     * data : {"head":{"img":"http://zkres.myzaker.com/201601/aHR0cDovL3VwbG9hZC5teXpha2VyLmNvbS9kYXRhL2FwcF9pbmZvLzIwMTYtMDEtMTgvMTQ1MzA4MzA4MzUxMTcucG5n_10000.jpg","img_height":"240","img_width":"1206","title":"本周新频道上线"},"list":[{"pk":"407","title":"财新网","api_url":"http://iphone.myzaker.com/zaker/blog.php?app_id=407","pic":"http://zkres.myzaker.com/data/image/logo/407.png?t=1452065866","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/407.png?t=1452065866","stitle":"","data_type":"","block_color":"#140c44"},{"pk":"12228","title":"爱车兵团","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12228","pic":"http://zkres.myzaker.com/data/image/logo/12228.png?t=1451528982","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12228.png?t=1451528982","stitle":"","data_type":"","block_color":"#e54242"},{"pk":"12229","title":"网贷之家","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12229","pic":"http://zkres.myzaker.com/data/image/logo/12229.png?t=1451529405","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12229.png?t=1451529405","stitle":"","data_type":"","block_color":"#177dcc"},{"pk":"12230","title":"猫小姐","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12230","pic":"http://zkres.myzaker.com/data/image/logo/12230.png?t=1451529795","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12230.png?t=1451529795","stitle":"","data_type":"","block_color":"#212121"},{"pk":"12231","title":"酷米网","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12231","pic":"http://zkres.myzaker.com/data/image/logo/12231.png?t=1451529923","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12231.png?t=1451529923","stitle":"","data_type":"","block_color":"#f3be15"},{"pk":"12232","title":"Get It K","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12232","pic":"http://zkres.myzaker.com/data/image/logo/12232.png?t=1451528909","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12232.png?t=1451528909","stitle":"","data_type":"rss","block_color":"#d7e024"},{"pk":"12236","title":"智选车","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12236","pic":"http://zkres.myzaker.com/data/image/logo/12236.png?t=1452066063","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12236.png?t=1452066063","stitle":"","data_type":"","block_color":"#b51c22"},{"pk":"12238","title":"中国青年报","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12238","pic":"http://zkres.myzaker.com/data/image/logo/12238.png?t=1452505251","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12238.png?t=1452505251","stitle":"","data_type":"","block_color":"#da001d"},{"pk":"12240","title":"特赞Tezign","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12240","pic":"http://zkres.myzaker.com/data/image/logo/12240.png?t=1452842593","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12240.png?t=1452842593","stitle":"","data_type":"","block_color":"#3eb88e"},{"pk":"12246","title":"韩国bnt时尚美容","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12246","pic":"","large_pic":"","stitle":"","data_type":"","block_color":"#3eb88e"}]}
     */

    private String stat;
    private String msg;
    /**
     * head : {"img":"http://zkres.myzaker.com/201601/aHR0cDovL3VwbG9hZC5teXpha2VyLmNvbS9kYXRhL2FwcF9pbmZvLzIwMTYtMDEtMTgvMTQ1MzA4MzA4MzUxMTcucG5n_10000.jpg","img_height":"240","img_width":"1206","title":"本周新频道上线"}
     * list : [{"pk":"407","title":"财新网","api_url":"http://iphone.myzaker.com/zaker/blog.php?app_id=407","pic":"http://zkres.myzaker.com/data/image/logo/407.png?t=1452065866","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/407.png?t=1452065866","stitle":"","data_type":"","block_color":"#140c44"},{"pk":"12228","title":"爱车兵团","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12228","pic":"http://zkres.myzaker.com/data/image/logo/12228.png?t=1451528982","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12228.png?t=1451528982","stitle":"","data_type":"","block_color":"#e54242"},{"pk":"12229","title":"网贷之家","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12229","pic":"http://zkres.myzaker.com/data/image/logo/12229.png?t=1451529405","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12229.png?t=1451529405","stitle":"","data_type":"","block_color":"#177dcc"},{"pk":"12230","title":"猫小姐","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12230","pic":"http://zkres.myzaker.com/data/image/logo/12230.png?t=1451529795","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12230.png?t=1451529795","stitle":"","data_type":"","block_color":"#212121"},{"pk":"12231","title":"酷米网","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12231","pic":"http://zkres.myzaker.com/data/image/logo/12231.png?t=1451529923","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12231.png?t=1451529923","stitle":"","data_type":"","block_color":"#f3be15"},{"pk":"12232","title":"Get It K","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12232","pic":"http://zkres.myzaker.com/data/image/logo/12232.png?t=1451528909","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12232.png?t=1451528909","stitle":"","data_type":"rss","block_color":"#d7e024"},{"pk":"12236","title":"智选车","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12236","pic":"http://zkres.myzaker.com/data/image/logo/12236.png?t=1452066063","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12236.png?t=1452066063","stitle":"","data_type":"","block_color":"#b51c22"},{"pk":"12238","title":"中国青年报","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12238","pic":"http://zkres.myzaker.com/data/image/logo/12238.png?t=1452505251","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12238.png?t=1452505251","stitle":"","data_type":"","block_color":"#da001d"},{"pk":"12240","title":"特赞Tezign","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12240","pic":"http://zkres.myzaker.com/data/image/logo/12240.png?t=1452842593","large_pic":"http://zkres.myzaker.com/data/image/logo/ipad3/12240.png?t=1452842593","stitle":"","data_type":"","block_color":"#3eb88e"},{"pk":"12246","title":"韩国bnt时尚美容","api_url":"http://iphone.myzaker.com/zaker/news.php?app_id=12246","pic":"","large_pic":"","stitle":"","data_type":"","block_color":"#3eb88e"}]
     */

    private DataEntity data;

    public void setStat(String stat) {
        this.stat = stat;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getStat() {
        return stat;
    }

    public String getMsg() {
        return msg;
    }

    public DataEntity getData() {
        return data;
    }

    public static class DataEntity {
        /**
         * img : http://zkres.myzaker.com/201601/aHR0cDovL3VwbG9hZC5teXpha2VyLmNvbS9kYXRhL2FwcF9pbmZvLzIwMTYtMDEtMTgvMTQ1MzA4MzA4MzUxMTcucG5n_10000.jpg
         * img_height : 240
         * img_width : 1206
         * title : 本周新频道上线
         */

        private HeadEntity head;
        /**
         * pk : 407
         * title : 财新网
         * api_url : http://iphone.myzaker.com/zaker/blog.php?app_id=407
         * pic : http://zkres.myzaker.com/data/image/logo/407.png?t=1452065866
         * large_pic : http://zkres.myzaker.com/data/image/logo/ipad3/407.png?t=1452065866
         * stitle :
         * data_type :
         * block_color : #140c44
         */

        private List<ListEntity> list;

        public void setHead(HeadEntity head) {
            this.head = head;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public HeadEntity getHead() {
            return head;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class HeadEntity {
            private String img;
            private String img_height;
            private String img_width;
            private String title;

            public void setImg(String img) {
                this.img = img;
            }

            public void setImg_height(String img_height) {
                this.img_height = img_height;
            }

            public void setImg_width(String img_width) {
                this.img_width = img_width;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImg() {
                return img;
            }

            public String getImg_height() {
                return img_height;
            }

            public String getImg_width() {
                return img_width;
            }

            public String getTitle() {
                return title;
            }
        }

        public static class ListEntity {
            private String pk;
            private String title;
            private String api_url;
            private String pic;
            private String large_pic;
            private String stitle;
            private String data_type;
            private String block_color;

            public ListEntity(String title, String pic) {
                this.title = title;
                this.pic = pic;
            }

            public void setPk(String pk) {
                this.pk = pk;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setApi_url(String api_url) {
                this.api_url = api_url;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public void setLarge_pic(String large_pic) {
                this.large_pic = large_pic;
            }

            public void setStitle(String stitle) {
                this.stitle = stitle;
            }

            public void setData_type(String data_type) {
                this.data_type = data_type;
            }

            public void setBlock_color(String block_color) {
                this.block_color = block_color;
            }

            public String getPk() {
                return pk;
            }

            public String getTitle() {
                return title;
            }

            public String getApi_url() {
                return api_url;
            }

            public String getPic() {
                return pic;
            }

            public String getLarge_pic() {
                return large_pic;
            }

            public String getStitle() {
                return stitle;
            }

            public String getData_type() {
                return data_type;
            }

            public String getBlock_color() {
                return block_color;
            }
        }
    }
}
